<div class="btn-group" align="right">
	<A class="btn " href="/admin/user-admin/add"><i class="icon-plus"></i>Thêm</A>
</div>
<table class="table table-bordered table-striped">
	<tr>
		<th>STT</th>
		<th>Tài khoản</th>
		<th>Tên</th>
		<th>Sửa</th>
		<th>Xóa</th>
	</tr>
	<?php foreach ($this->paginator as $key => $value):?>
		<tr>
			<td><?php echo $key + 1 + $this->paginator->getItemCountPerPage() * ($this->paginator->getCurrentPageNumber() - 1)?></td>
			<td><?php echo $value['username']?></td>
			<td><?php echo $value['name']?></td>
			<td><A class="btn " href="/admin/user-admin/edit/id/<?php echo $value['id']?>"><i class="icon-edit"></i>Sửa</A></td>
			<td><A class="btn " href="/admin/user-admin/delete/id/<?php echo $value['id']?>"><i class="icon-trash"></i>Xóa</A></td>
		</tr>
	<?php endforeach;?>
</table>

	<?php 
//	echo $this->paginator;
